package org.mcache;

import java.util.logging.Level;
import java.util.logging.Logger;

public class LOG {
    private static final Logger logger = Logger.getLogger(LOG.class.getName());

    public static void warning(String msg, Throwable thrown) {
        logger.log(Level.WARNING, msg, thrown);
    }

    public static void warning(String msg) {
        logger.log(Level.WARNING, msg, (Throwable) null);
    }



    public static void info(String msg) {
        logger.info(msg);
    }

    public static void debug(String msg) {
        logger.log(Level.FINEST, msg);
    }

}
